<?php

/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\PasswordResetRequestForm */

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;



$this->title = "找回密码";
$this->registerCssFile("/css/small.css", ['option' => $this::POS_BEGIN]);
$this->registerCssFile("/css/user.css");
?>


<div class="mian_box">
    <!--文章-->
    <div class="w998">
        <h3 class="small_tetle"><?= Html::encode($this->title) ?></h3>
        <div class="small_box"><h4>输入您的用户名和邮箱地址。</h4>

            <?php
            $form = ActiveForm::begin(
                [
                    'layout'      => 'horizontal',
                    'fieldConfig' => [
                        'template' => "<p>{label}</p><span>\n{input}\n{hint}\n{error}\n</span>",
                    ]
                ]
            );
            ?>
            <ul>
                <li>
                    <?= $form->field($model, 'username')->textInput(['autofocus' => true, 'class' => 'login_input'])->label("用户名"); ?>
                </li>

                <li>
                    <?= $form->field($model, 'email')->textInput(['autofocus' => true, 'class' => 'login_input'])->label("邮&nbsp;&nbsp;&nbsp;&nbsp;箱"); ?>
                </li>
                <li><p>&nbsp;</p><span><?= Html::submitButton("", ['class' => 'sig_signin_btn']) ?></span></li>
            </ul>
            <?php ActiveForm::end(); ?>

        </div>
        <div class="clear"></div>
    </div>
    <!--文章结束-->
</div>
